package com.dykj.fireFighting.api.monitoringCenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 火灾记录
 * @Author JacksonTu
 * @Date  2022-01-20 08:32:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "火灾记录")
@TableName("fire_information")
public class FireInformation extends Model<FireInformation> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	@TableField("create_by")
	private String createBy;
	@TableField("create_time")
	private Date createTime;
	@TableField("is_del")
	private Integer isDel;
	/**
	 * 场所
	 */
    @ApiModelProperty(value = "场所")
	private String address;
	/**
	 * 区域
	 */
    @ApiModelProperty(value = "区域")
	private String region;
	/**
	 * 火灾发生时间
	 */
    @ApiModelProperty(value = "火灾发生时间")
	@TableField("fire_time")
	private Date fireTime;
	/**
	 * 火灾起因
	 */
    @ApiModelProperty(value = "火灾起因")
	@TableField("fire_reason")
	private String fireReason;
	/**
	 * 场所类型
	 */
    @ApiModelProperty(value = "场所类型")
	@TableField("site_type")
	private String siteType;
	@TableField("center_id")
	private String centerId;

	@TableField("region_text")
	private String regionText;
	@TableField("fire_reason_text")
	private String fireReasonText;
	@TableField("site_type_text")
	private String siteTypeText;

}
